#range语法1
for x in range(10):
    print(x)

print("隔断")

#range语法2
for i in range(1,10):
    print(i)

print("隔断")

#range语法3
for i in range(1,10,2): #2是间隔
    print(i)

print("隔断")

#作用域的讨论
i = 0
for i in range(10):
    print(i)
print(i)